package cn.pegasus.teamwork.pegasus.service;

import java.util.List;
import java.util.Map;

import cn.pegasus.teamwork.pegasus.entity.BussEquipmentInfo;
import cn.pegasus.teamwork.pegasus.mapper.BussEquipmentInfoMapper;
import cn.iyizhan.teamwork.base.service.BaseService;
import cn.iyizhan.teamwork.base.util.PageObject;

/**
 * @author ryan.bian
 * @version 
 */
public interface BussEquipmentInfoService extends BaseService<BussEquipmentInfo,BussEquipmentInfoMapper>  {

	//分页查询
	public PageObject<BussEquipmentInfo> PageList(Map<String, Object> map);
	
	//查询列表
	public List<BussEquipmentInfo> findEquipmentList();
	
	//新增
	public void addEq(Long userId,Map<String,Object> map);
	
	//修改
	public void updateEq(Long userId,Map<String,Object> map);
	
	//删除
	public void delete(Long userId,Integer id);
	
	//查询设备基本信息
	public BussEquipmentInfo findEqInfo(Integer id);
}
